package cn.bytets.rpc.api;

import cn.bytets.rpc.api.close.Closes;
import cn.bytets.rpc.common.URL;
import cn.bytets.rpc.api.Channel;

public interface RpcClient extends Closes {

    public void openServer();

    public void connect(String host,int port);

    public void send(Object msg);

    public boolean isClose();

    public Channel getChannel(URL url);

}
